<%--
  Created by IntelliJ IDEA.
  User: 光的代言人
  Date: 2024/12/17
  Time: 20:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>

    <title>注册页面</title>
    <link rel="stylesheet" href="../css/register.css">
</head>
<body>
<div class="header">
    <a href="#" class="logo">在线购物商城</a>
</div>

<div class="container">
    <div class="register-image">
        <img src="../images/register.png" alt="">
    </div>

    <div class="register-form">
        <div class="register-title">账户注册</div>
        <form action="/register"  method="post" >
            <div class="form-group">
                <div class="form-item">
                    <label for="name">姓名</label>
                    <input type="text" id="name" name="name" required>
                </div>
            </div>
            <div class="form-group">
                <div class="form-item">
                    <label for="idCard">身份证号</label>
                    <input type="text" id="idCard" name="id_card" required>
                </div>
            </div>

            <div class="form-group">
                <div class="form-item">
                    <label for="username">用户名</label>
                    <input type="text" id="username" name="username" required>
                </div>
            </div>

            <div class="form-group">
                <div class="form-item">
                    <label for="password">登录密码</label>
                    <input type="password" id="password" name="password" required>
                </div>
            </div>

            <div class="form-group">
                <div class="form-item">
                    <label for="phone">手机号码</label>
                    <input type="tel" id="phone" name="phone" required>
                </div>
            </div>
            <button type="submit" class="register-btn">注册</button>
        </form>

        <div class="login-link">
            <a href="/login">已有账号？立即登录</a>
        </div>
    </div>
</div>

</body>
</html>
